package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 电子签章对象 per_seal_document
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerSealDocument extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID，主键 */
    private Long applicationId;

    /** 申请部门，自动根据用户信息获取 */
    @Excel(name = "申请部门，自动根据用户信息获取")
    private String department;

    /** 签章类型名称（如个人签名、电子印章） */
    @Excel(name = "签章类型名称", readConverterExp = "如=个人签名、电子印章")
    private String sealTypeName;

    /** 申请类型（新增/修改/撤销） */
    @Excel(name = "申请类型", readConverterExp = "新=增/修改/撤销")
    private String applicationType;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationDate;

    /** 审批状态（待审批/已批准/已驳回/已撤销） */
    @Excel(name = "审批状态", readConverterExp = "待=审批/已批准/已驳回/已撤销")
    private String status;

    /** 申请描述 */
    @Excel(name = "申请描述")
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    public void setApplicationId(Long applicationId) 
    {
        this.applicationId = applicationId;
    }

    public Long getApplicationId() 
    {
        return applicationId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setSealTypeName(String sealTypeName) 
    {
        this.sealTypeName = sealTypeName;
    }

    public String getSealTypeName() 
    {
        return sealTypeName;
    }
    public void setApplicationType(String applicationType) 
    {
        this.applicationType = applicationType;
    }

    public String getApplicationType() 
    {
        return applicationType;
    }
    public void setApplicationDate(Date applicationDate) 
    {
        this.applicationDate = applicationDate;
    }

    public Date getApplicationDate() 
    {
        return applicationDate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applicationId", getApplicationId())
            .append("department", getDepartment())
            .append("sealTypeName", getSealTypeName())
            .append("applicationType", getApplicationType())
            .append("applicationDate", getApplicationDate())
            .append("status", getStatus())
            .append("description", getDescription())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
